package com.dayuanit.dy15.atm.util;

import org.apache.commons.codec.digest.DigestUtils;

public class MD5Utils {

    public static String passwordSigin(String password, String salt, String username) {
        //密码明文规则=密码 + 盐值 + 用户名
        String msg = password + salt + username;
        return DigestUtils.md5Hex(msg);
    }
}
